#include <iostream>
#include <windows.h>
#include <string>
#include <cstring>
using namespace std;
int main()
{
    system("pause");
    char arr[] = "1234567890abcdef";
    string target;
    while(1)
    {
        for (int i = 0; i < 16; i++)
        {
            for (int j = 0; j < 16; j++)
            {
                if (i != j)
                {
                    target = "color ";
                    target.append(1, arr[j]);
                    target.append(1, arr[i]);
                    cout << target << " ";
                    system(target.c_str());
                    Sleep(6);
                }
            }
        }
        system("color 0f");

    }
    return 0;
}